package org.monitor.servlet.impl;

import javax.servlet.annotation.WebServlet;

import org.monitor.controller.malog.MALogController;
import org.monitor.controller.malog.MAMonitorController;
import org.monitor.controller.malog.MAServerController;
import org.monitor.controller.malog.MASettingController;
import org.monitor.servlet.base.BaseHttpServlet;
import org.monitor.servlet.router.Routers;

/**
 * ma server端日志记录
 * @author zhaojjd
 *
 */
@WebServlet(name="malog", value="/malog/*")
public class MALogServlet extends BaseHttpServlet {

	private static final long serialVersionUID = 1L;

	@Override
	protected Routers initRouters() {
		Routers routers = new Routers();
		routers.add("/setting", MASettingController.class);
		routers.add("/server", MAServerController.class);
		routers.add("/monitor", MAMonitorController.class);
		routers.add("/log", MALogController.class);
		return routers;
	}

}
